package com.far.game.xiuzhen.common.database.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author mike
 * @since 2022-07-22
 */
@ApiModel(value = "Partner",description = "伙伴数据对象")
@TableName("xz_partner")
public class Partner extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键自增ID")
    @TableId(value = "tid", type = IdType.AUTO)
    private Integer tid;

    /**
     * 固定编号
     */
    @ApiModelProperty(value = "固定编号")
    private String sid;

    /**
     * 伙伴名称
     */
    @ApiModelProperty(value = "伙伴名称")
    private String partnerName;

    /**
     * 血量
     */
    @ApiModelProperty(value = "血量")
    private Long blood;

    /**
     * 最大血量
     */
    @ApiModelProperty(value = "最大血量")
    private Long maxBlood;

    /**
     * 能量
     */
    @ApiModelProperty(value = "能量")
    private Integer power;

    /**
     * 最大能量
     */
    @ApiModelProperty(value = "最大能量")
    private Integer maxPower;

    /**
     * 修为
     */
    @ApiModelProperty(value = "修为")
    private Long exp;

    /**
     * 等级
     */
    @ApiModelProperty(value = "等级")
    private Integer lev;

    /**
     * 攻击力
     */
    @ApiModelProperty(value = "攻击力")
    private Long attack;

    /**
     * 物防
     */
    @ApiModelProperty(value = "物防")
    private Long pdef;

    /**
     * 法防
     */
    @ApiModelProperty(value = "法防")
    private Long mdef;

    /**
     * 命中
     */
    @ApiModelProperty(value = "命中")
    private Double hit;

    /**
     * 闪避
     */
    @ApiModelProperty(value = "闪避")
    private Double dodge;

    /**
     * 暴击
     */
    @ApiModelProperty(value = "暴击")
    private Double crit;

    /**
     * 抗暴
     */
    @ApiModelProperty(value = "抗暴")
    private Double revolt;

    /**
     * 品质
     */
    @ApiModelProperty(value = "品质")
    private Integer quality;

    /**
     * 进阶
     */
    @ApiModelProperty(value = "进阶")
    private Integer steps;

    /**
     * 职业  1战士 2辅助 3盾 4医
     */
    @ApiModelProperty(value = "职业  1战士 2辅助 3盾 4医")
    private Integer job;

    /**
     * 种族
     */
    @ApiModelProperty(value = "种族   人 2妖 3魔 4灵")
    private Integer race;

    /**
     * 飞升
     */
    @ApiModelProperty(value = "飞升")
    private Integer fly;

    /**
     * 轮回
     */
    @ApiModelProperty(value = "轮回")
    private Integer lifeBack;

    /**
     * 升星
     */
    @ApiModelProperty(value = "升星")
    private Integer star;

    /**
     * 服务器ID
     */
    @ApiModelProperty(value = "服务器ID")
    private Integer serverId;

    /**
     * 所在区
     */
    @ApiModelProperty(value = "所在区")
    private Integer domainId;

    /**
     * 伙伴介绍
     */
    @ApiModelProperty(value = "伙伴介绍")
    private String introduce;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createAt;

    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateAt;

    /**
     * 更新人
     */
    @ApiModelProperty(value="更新人")
    private String updateBy;


    public LocalDateTime getCreateAt() {
        return createAt;
    }


    public void setCreateAt(LocalDateTime createAt) {
        this.createAt = createAt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }


    public LocalDateTime getUpdateAt() {
        return updateAt;
    }


    public void setUpdateAt(LocalDateTime updateAt) {
        this.updateAt = updateAt;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getPartnerName() {
        return partnerName;
    }

    public void setPartnerName(String partnerName) {
        this.partnerName = partnerName;
    }

    public Long getBlood() {
        return blood;
    }

    public void setBlood(Long blood) {
        this.blood = blood;
    }

    public Long getMaxBlood() {
        return maxBlood;
    }

    public void setMaxBlood(Long maxBlood) {
        this.maxBlood = maxBlood;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public Integer getMaxPower() {
        return maxPower;
    }

    public void setMaxPower(Integer maxPower) {
        this.maxPower = maxPower;
    }

    public Long getExp() {
        return exp;
    }

    public void setExp(Long exp) {
        this.exp = exp;
    }

    public Integer getLev() {
        return lev;
    }

    public void setLev(Integer lev) {
        this.lev = lev;
    }

    public Long getAttack() {
        return attack;
    }

    public void setAttack(Long attack) {
        this.attack = attack;
    }

    public Long getPdef() {
        return pdef;
    }

    public void setPdef(Long pdef) {
        this.pdef = pdef;
    }

    public Long getMdef() {
        return mdef;
    }

    public void setMdef(Long mdef) {
        this.mdef = mdef;
    }

    public Double getHit() {
        return hit;
    }

    public void setHit(Double hit) {
        this.hit = hit;
    }

    public Double getDodge() {
        return dodge;
    }

    public void setDodge(Double dodge) {
        this.dodge = dodge;
    }

    public Double getCrit() {
        return crit;
    }

    public void setCrit(Double crit) {
        this.crit = crit;
    }

    public Double getRevolt() {
        return revolt;
    }

    public void setRevolt(Double revolt) {
        this.revolt = revolt;
    }

    public Integer getQuality() {
        return quality;
    }

    public void setQuality(Integer quality) {
        this.quality = quality;
    }

    public Integer getSteps() {
        return steps;
    }

    public void setSteps(Integer steps) {
        this.steps = steps;
    }

    public Integer getJob() {
        return job;
    }

    public void setJob(Integer job) {
        this.job = job;
    }

    public Integer getRace() {
        return race;
    }

    public void setRace(Integer race) {
        this.race = race;
    }

    public Integer getFly() {
        return fly;
    }

    public void setFly(Integer fly) {
        this.fly = fly;
    }

    public Integer getLifeBack() {
        return lifeBack;
    }

    public void setLifeBack(Integer lifeBack) {
        this.lifeBack = lifeBack;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public Integer getServerId() {
        return serverId;
    }

    public void setServerId(Integer serverId) {
        this.serverId = serverId;
    }

    public Integer getDomainId() {
        return domainId;
    }

    public void setDomainId(Integer domainId) {
        this.domainId = domainId;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    @Override
    public String toString() {
        return "Partner{" +
        "tid=" + tid +
        ", sid=" + sid +
        ", partnerName=" + partnerName +
        ", blood=" + blood +
        ", maxBlood=" + maxBlood +
        ", power=" + power +
        ", maxPower=" + maxPower +
        ", exp=" + exp +
        ", lev=" + lev +
        ", attack=" + attack +
        ", pdef=" + pdef +
        ", mdef=" + mdef +
        ", hit=" + hit +
        ", dodge=" + dodge +
        ", crit=" + crit +
        ", revolt=" + revolt +
        ", quality=" + quality +
        ", steps=" + steps +
        ", job=" + job +
        ", race=" + race +
        ", fly=" + fly +
        ", lifeBack=" + lifeBack +
        ", star=" + star +
        ", serverId=" + serverId +
        ", domainId=" + domainId +
        ", introduce=" + introduce +
        ", createAt=" + createAt +
        ", createBy=" + createBy +
        ", updateAt=" + updateAt+
        ", updateBy=" + updateBy +
        "}";
    }
}
